﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Emoney.UserTraining.Cache
{
    //public interface IMemcachedCache
    //{
    //    object GetClient();

    //    void Add(string key, object obj,int hours,int minutes, int seconds);

    //    void Remove(string key);

    //    void FlushAll();

    //    T Get<T>(string key);
    //}
    public interface IMemcachedCache
    {
        object GetClient();

        void Add(string key, object obj, int hours, int minutes, int seconds);

        void Remove(string key);

        void FlushAll();



        T Get<T>(string key);
    }
}
